import 'package:json_annotation/json_annotation.dart';

part 'label_list_bean.g.dart';

@JsonSerializable()
class LabelListBean {
  String name;
  String id;

  LabelListBean({this.name, this.id});

  LabelListBean.fromJson(Map<String, dynamic> json) {
    this.name = json['name'];
    this.id = json['id'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['id'] = this.id;
    return data;
  }
}
